package com.isnmp.common.base;

import java.io.PrintStream;

public class RMINamingServer {
    public static int rmiPort = 10999;
    private static RMINamingServer rmiNaming;

    private void init() {
        try {
            System.err.println("当前系统已经全部用Web服务替换RMI服务，请检查!");
        } catch (Exception localException) {
            MyLog.err("RMI Naming Server Start Fail：" + localException.toString());
        }
    }

    public static synchronized void startRMINaming() {
        if (rmiNaming == null) {
            rmiNaming = new RMINamingServer();
            rmiNaming.init();
        }
    }

    public static void main(String[] paramArrayOfString) {
        startRMINaming();
    }
}